package com.dmwork.service.interaction.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户动态表
 * </p>
 *
 * @author 李天
 * @since 2021-03-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_feed")
@ApiModel(value="Feed对象", description="用户动态表")
public class Feed extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "作品id【可选为空】")
    private String workId;

    @ApiModelProperty(value = "用户id")
    private String customerId;

    @ApiModelProperty(value = "动态内容")
    private String content;

    @ApiModelProperty(value = "动态图片数")
    private Integer pictureCount;

    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;

}
